import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;


public class closepopup {

	
	WebDriver driver;

	public void method( ){
		
		if(driver.findElement(By.id("geolocation-dialog")).isDisplayed())
	{
		
		driver.switchTo().defaultContent();
		driver.findElement(By.id("close_button")).click();
	}

	}
}

